<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>
<%@page import="com.baosight.iplat4j.core.resource.I18nMessages"%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
<style type="text/css"> 
.ef-layout-vertical-middle:before {
     float:left;
} </style>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCK50" method="POST" action="<%=actionUrl%>"> 
	        <EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdKeyId" cname="主键" etc=" "/>
	        <EF:EFInput type="hidden" ename="fdCreatorId" cname="登录人Id"/>
			<EF:EFInput type="hidden" ename="fdCreator" cname="登录人"/>
			<EF:EFInput type="hidden" ename="fdMiningName" cname="单位ID"/>
			<EF:EFInput type="hidden" ename="fdCreateDepartment" cname="队别"/>
			<EF:EFInput type="hidden" ename="fdCreateDepartmentId" cname="单位ID"/>
			
			<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true >
				<div class="row-fluid"> 
					<%-- <div class="span4">
					     <EF:EFSelect blockId="inqu_status" row="0" ename="fdMiningName" cname="矿井：" etc=" style='width:133px;'">
							<EF:EFOptions blockId="cmes.ch.mine" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
				    </div>   --%>
				    <div class="span4">
					  <EF:EFSelect blockId="inqu_status" row="0" ename="fdStatus" cname="状态：" etc=" style='width:133px;'">
					        <EF:EFOption label='' value=""/> 
							<EF:EFOptions blockId="cmes.ch.status" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
				    </div>
				    <div class="span4">
		                <EF:EFSelect blockId="inqu_status" row="0" ename="fdJxBm" cname="检修部门：" etc=" style='width:133px;'">
					    <EF:EFOption label='' value=""/>
				        <EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
			            </EF:EFSelect>
	                </div>
				<!-- </div> -->
			<!-- 	<div class="row-fluid"> --> 
	                <div class="span4">
		                <EF:EFInput blockId="inqu_status" cname="检修时间：" ename="fdJxTime" row="0" popup="date" etc=" style='width:133px;'"/>
	                </div>
				</div>
				
			</div>
		
		<div id="ef_region_result" title="记录集" style="overflow: scroll">
			<div id="ef_grid_result" title="页面信息" style="overflow: hidden; height: 300px;"></div>
		</div>
		<EF:EFRegion /> 

         <EF:EFGrid title="结果集" blockId="result" autoDraw="no" readonly="true" paintId="ef_grid_result" style="operationBar:true">
            
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false" />
            <EF:EFComboColumn ename="fdStatus" cname="状态" blockName="cmes.ch.status" enable="false" align="center" width="60" labelProperty="display" valueProperty="value" />
			<EF:EFColumn ename="fdMiningName" cname="矿井" enable="false" align="center" width="80" /> 
			<%-- <EF:EFComboColumn ename="fdMiningName" cname="矿井" blockName="cmes.ch.mine" enable="false" align="center" width="100" labelProperty="display" valueProperty="value" /> --%>
		    <EF:EFColumn ename="fdCurrentDate" cname="当前日期" enable="false" dateFormat="yyyy-MM-dd" editType="date" align="center" width="80" />
		    <EF:EFColumn ename="fdJxTime" cname="检修时间" enable="false" dateFormat="yyyy-MM-dd" editType="date" align="center" width="80" />
		    <EF:EFComboColumn ename="fdJxBm" cname="检修部门" blockName="cmes.cp.department" enable="false" align="center" width="100" labelProperty="orgName" valueProperty="orgCode" />		     	 
			<EF:EFColumn ename="fdReportPerson" cname="汇报人" enable="false" align="center" width="80" /> 
			<EF:EFColumn ename="fdJxContent" cname="检修内容" enable="false" align="center" width="300" validateRegex="/^.{1,500}$/" validateErrorPrompt="输入1~500个字符" /> 
			 
 		</EF:EFGrid>
 	
        <!-- 检修安排 -->
		<div id="ef_region_mainadd" title="检修安排内容" style="overflow: scroll"> 
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdKeyId" cname="主键"/>
			<EF:EFInput type="hidden" ename="fdMiningName" cname="单位"/>
			<EF:EFInput type="hidden" blockId="result_add" row="0" ename="fdJxBm" cname="检修部门"/>
			<%-- <EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdSubmitorId" cname="提出人ID"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdCreateUserId" cname="录入人ID"/> --%>
			
			<table>
				<tr>
				    <td nowrap width="10%" align="right">状态：</td>
					<td nowrap width="20%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdStatus" etc="disabled='disabled' style='width:140.8px;'" >  
							<EF:EFOptions blockId="cmes.ch.status" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect> 
					</td>
					<%-- <td nowrap width="10%" align="right">矿井：</td>
					<td nowrap width="20%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdMiningName" >  
							<EF:EFOptions blockId="cmes.ch.mine" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect> 
					</td> --%>  
					<td nowrap width="10%" align="right">矿井：</td>
					<td nowrap width="20%" >
					    <EF:EFInput blockId="result_add" row="0" ename="fdMiningName" etc="disabled='disabled'"/>
				    </td> 
					<td nowrap width="10%" align="right">当前日期：</td>
					<td nowrap width="20%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdCurrentDate" popup="date" etc="maxLength='19' size='19' "/>
					</td>
					
				</tr> 
				<tr>
					<td nowrap width="10%" align="right">检修时间：</td>
					<td nowrap width="20%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdJxTime" popup="date" etc="maxLength='19' size='19' "/>
					</td> 
					<td nowrap width="10%" align="right">检修部门：</td>
					<td nowrap width="20%">
					    <EF:EFSelect blockId="result_add" row="0" ename="fdJxBm" etc ="style='width:140.8px;'">
							<EF:EFOption label='' value=""/>
				            <EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
			            </EF:EFSelect>
					</td> 		
				</tr> 
				<tr>
					<td nowrap align="right">检修内容:</td>
					<td nowrap colspan="5"><EF:EFInput blockId="result_add" row="0" type="textarea" ename="fdJxContent" etc=" rows='5' cols='180'"/></td>
				</tr> 
				
			</table>		 		 
		</div> 
	 	
 	
	</EF:EFForm> 
</EF:EFBody> 
</html>